#pragma once
#include <iostream>
struct node {
	int data;
	node *next;
};

class CMyQueue
{
	node *front;
	node *tail;
	int size;
public:
	CMyQueue(void):front(NULL), tail(NULL), size(0){}
	~CMyQueue(void){}
	void enQueue(int item);
	int deQueue();
	int getSize() { return size; }
	int getFront() { 
		if(front) 
			return front->data; 
		return -1; 
	}
};
